package com.atguigu.gmall.payment.service;

import com.atguigu.gmall.model.enums.PaymentType;
import com.atguigu.gmall.model.payment.PaymentInfo;

import java.util.Map;

public interface PaymentInfoService {
    PaymentInfo insert(Long orderId, PaymentType paymentType);
    void paySuccess(Map<String, String> paramsMap);

    void closePayment(Long orderId);
}
